# Example: Scaling an object's position

If the user selects the scaling option, objects will be scaled in size so that they occupy the same relative position on the new display, using this formula:

- New object left = (New display width/Old display width) x current object left
- New object top = (New display height/Old display height) x current object top

On a 640x480 display, a button is located at 20,40.

If the display is reduced to 320x240, the button will be changed to be 10,20.

- New object left = (320/640) x 20 = 10
- New object top = (240/480) x 40 = 20

If the display is increased to 800x600, the button will be scaled to 25,50.

- New object left = (800/640) x 20 = 25
- New object top = (600/480) x 40 = 50

  Tip: | Imported text will not change font size.

## See also

Import a file

Select import options

Example: Scaling an object's size